package com.huawei.utils;

public class ApiError {

    private String status;

    private String errCode;

    private String msg;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getErrCode() {
        return errCode;
    }

    public void setErrCode(String errCode) {
        this.errCode = errCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "ApiError{" +
            "status=" + status +
            ", errCode='" + errCode + '\'' +
            ", msg='" + msg + '\'' +
            '}';
    }

    public ApiError(String status, String errCode, String msg) {
        this.status = status;
        this.errCode = errCode;
        this.msg = msg;
    }

}
